from django.http import HttpResponse

from App.tasks import add


def index(request):
    return HttpResponse("Index")


def test_add(request):
    task_id = add.delay()

    print(task_id)

    return HttpResponse("假装操作很耗时，不等了")